import request from '/@/utils/request';
enum Api {
    Pagecms_Article = '/api/cms_Article/Page',
    Addcms_Article= '/api/cms_Article/addArticle',
	Editcms_Article= '/api/cms_Article/update',
	Delcms_Article= '/api/cms_Article/delete',
	SoftDelcms_Article= '/api/cms_Article/softDelete',
	
}
/**获取分页 */
export const pageCms_Article = (params?: any) =>
    request({
        url: Api.Pagecms_Article,
        method: 'post',
        data: params,
    });	
	// 增加
	export const addCms_Article = (params?: any) =>
		request({
			url: Api.Addcms_Article,
			method: 'post',
			data: params,
		});
	
/**保存 */
export const editCms_Article = (params?: any) =>
    request({
        url: Api.Editcms_Article,
        method: 'post',
        data: params,
    });
/**删除 */
export const deleteCms_Article = (params?: any) =>
    request({
        url: Api.Delcms_Article,
        method: 'post',
        data: params,
    });
	/**软删除 */
	export const softDeleteCms_Article = (params?: any) =>
	    request({
	        url: Api.SoftDelcms_Article,
	        method: 'post',
	        data: params,
	    });
